<div class="affichage">

    <?php $datemod = h($devi['Devi']['date_modification']); ?>
    <h2><?php  echo __('Devis');?></h2> 
    Ce devis est <?php echo h($devi['Devi']['statut_devis']); ?>.
	<dl>
            Créé le <?php echo h($devi['Devi']['date_creation']); ?> <br/>
            <?php if(!empty($datemod)){ ?>Dernière modification le <?PHP echo $datemod; }?>
                
            
            <br/>
		<dt><?php echo __('Engagement Sdsl'); ?></dt>
		<dd>
			<?php echo h($devi['Devi']['engagement_sdsl']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Engagement Adsl'); ?></dt>
		<dd>
			<?php echo h($devi['Devi']['engagement_adsl']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Engagement Fixe'); ?></dt>
		<dd>
			<?php echo h($devi['Devi']['engagement_fixe']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Engagement Mobile'); ?></dt>
		<dd>
			<?php echo h($devi['Devi']['engagement_mobile']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Id Utilisateur'); ?></dt>
		<dd>
			<?php echo h($devi['Devi']['id_utilisateur']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Id Societe'); ?></dt>
		<dd>
			<?php echo h($devi['Devi']['id_societe']); ?>
			&nbsp;
		</dd>
	</dl>
</div>
<div class="actions">
	<h3><?php echo __('Actions'); ?></h3>
	<ul>
		<li><?php echo $this->Html->link(__('Edit Devi'), array('action' => 'edit', $devi['Devi']['id_devis'])); ?> </li>
		<li><?php echo $this->Form->postLink(__('Delete Devi'), array('action' => 'delete', $devi['Devi']['id_devis']), null, __('Are you sure you want to delete # %s?', $devi['Devi']['id_devis'])); ?> </li>
		<li><?php echo $this->Html->link(__('List Devis'), array('action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Devi'), array('action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Utilisateurs'), array('controller' => 'utilisateurs', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Commercial'), array('controller' => 'utilisateurs', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Societes'), array('controller' => 'societes', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Devis To Societe'), array('controller' => 'societes', 'action' => 'add')); ?> </li>
	</ul>
</div>
	<div class="related">
		<h3><?php echo __('Related Utilisateurs');?></h3>
	<?php if (!empty($devi['commercial'])):?>
		<dl>
			<dt><?php echo __('Id Utilisateur');?></dt>
		<dd>
	<?php echo $devi['commercial']['id_utilisateur'];?>
&nbsp;</dd>
		<dt><?php echo __('Nom Utilisateur');?></dt>
		<dd>
	<?php echo $devi['commercial']['nom_utilisateur'];?>
&nbsp;</dd>
		<dt><?php echo __('Login');?></dt>
		<dd>
	<?php echo $devi['commercial']['login'];?>
&nbsp;</dd>
		<dt><?php echo __('Password');?></dt>
		<dd>
	<?php echo $devi['commercial']['password'];?>
&nbsp;</dd>
		</dl>
	<?php endif; ?>
		<div class="actions">
			<ul>
				<li><?php echo $this->Html->link(__('Edit Commercial'), array('controller' => 'utilisateurs', 'action' => 'edit', $devi['commercial']['id_utilisateur'])); ?></li>
			</ul>
		</div>
	</div>
		<div class="related">
		<h3><?php echo __('Related Societes');?></h3>
	<?php if (!empty($devi['devis_to_societe'])):?>
		<dl>
			<dt><?php echo __('Id Societe');?></dt>
		<dd>
	<?php echo $devi['devis_to_societe']['id_societe'];?>
&nbsp;</dd>
		<dt><?php echo __('Raison Sociale');?></dt>
		<dd>
	<?php echo $devi['devis_to_societe']['raison_sociale'];?>
&nbsp;</dd>
		<dt><?php echo __('Contact Administratif');?></dt>
		<dd>
	<?php echo $devi['devis_to_societe']['contact_administratif'];?>
&nbsp;</dd>
		<dt><?php echo __('Adresse Facturation');?></dt>
		<dd>
	<?php echo $devi['devis_to_societe']['adresse_facturation'];?>
&nbsp;</dd>
		<dt><?php echo __('Code Postal Societe');?></dt>
		<dd>
	<?php echo $devi['devis_to_societe']['code_postal_societe'];?>
&nbsp;</dd>
		<dt><?php echo __('Ville Societe');?></dt>
		<dd>
	<?php echo $devi['devis_to_societe']['ville_societe'];?>
&nbsp;</dd>
		<dt><?php echo __('Telephone Administratif');?></dt>
		<dd>
	<?php echo $devi['devis_to_societe']['telephone_administratif'];?>
&nbsp;</dd>
		<dt><?php echo __('Mail Administratif');?></dt>
		<dd>
	<?php echo $devi['devis_to_societe']['mail_administratif'];?>
&nbsp;</dd>
		<dt><?php echo __('Fax Administratif');?></dt>
		<dd>
	<?php echo $devi['devis_to_societe']['fax_administratif'];?>
&nbsp;</dd>
		<dt><?php echo __('Contact Technique');?></dt>
		<dd>
	<?php echo $devi['devis_to_societe']['contact_technique'];?>
&nbsp;</dd>
		<dt><?php echo __('Telephone Technique');?></dt>
		<dd>
	<?php echo $devi['devis_to_societe']['telephone_technique'];?>
&nbsp;</dd>
		<dt><?php echo __('Mail Technique');?></dt>
		<dd>
	<?php echo $devi['devis_to_societe']['mail_technique'];?>
&nbsp;</dd>
		<dt><?php echo __('Conso Estim Fixes');?></dt>
		<dd>
	<?php echo $devi['devis_to_societe']['conso_estim_fixes'];?>
&nbsp;</dd>
		<dt><?php echo __('Conso Estim Mobiles');?></dt>
		<dd>
	<?php echo $devi['devis_to_societe']['conso_estim_mobiles'];?>
&nbsp;</dd>
		<dt><?php echo __('Conso Estim Inter');?></dt>
		<dd>
	<?php echo $devi['devis_to_societe']['conso_estim_inter'];?>
&nbsp;</dd>
		<dt><?php echo __('Conso Estim Depuis Mobiles');?></dt>
		<dd>
	<?php echo $devi['devis_to_societe']['conso_estim_depuis_mobiles'];?>
&nbsp;</dd>
		</dl>
	<?php endif; ?>
		<div class="actions">
			<ul>
				<li><?php echo $this->Html->link(__('Edit Devis To Societe'), array('controller' => 'societes', 'action' => 'edit', $devi['devis_to_societe']['id_societe'])); ?></li>
			</ul>
		</div>
	</div>
	